package com.yzy.soft.common.persistence.model;

import java.io.Serializable;

import java.util.Date;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableLogic;
import com.baomidou.mybatisplus.enums.FieldFill;

/**
 * <p>
 * 
 * </p>
 *
 * @author yinzhiyuan
 * @since 2018-02-01
 */
public class Accountspecial extends Model<Accountspecial> {

    private static final long serialVersionUID = 1L;

	private String id;
	@TableField(fill= FieldFill.INSERT)
	private Date create;
	@TableField(fill= FieldFill.INSERT_UPDATE)
	private Date update;
	private String versionid;
	@TableField(value = "userflag")
	private int userflag;
	@TableField(value = "deleteflag")
	@TableLogic
	private int deleteflag;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public Date getCreate() {
		return create;
	}

	public void setCreate(Date create) {
		this.create = create;
	}

	public Date getUpdate() {
		return update;
	}

	public void setUpdate(Date update) {
		this.update = update;
	}

	public String getVersionid() {
		return versionid;
	}

	public void setVersionid(String versionid) {
		this.versionid = versionid;
	}

	public int getUserflag() {
		return userflag;
	}

	public void setUserflag(int userflag) {
		this.userflag = userflag;
	}

	public int getDeleteflag() {
		return deleteflag;
	}

	public void setDeleteflag(int deleteflag) {
		this.deleteflag = deleteflag;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

	@Override
	public String toString() {
		return "Accountspecial{" +
			"id=" + id +
			", create=" + create +
			", update=" + update +
			", versionid=" + versionid +
			"}";
	}
}
